from django.contrib import admin

# Register your models here.
from .models import Movie,Category

@admin.register(Movie)
class MovieAdmin(admin.ModelAdmin):
    list_display=('movie_name','category','is_hot','is_top','is_show','is_free')
    list_editable=('is_hot','is_top','is_show','is_free')
    
@admin.register(Category)
class movie_categoryAdmin(admin.ModelAdmin):
    list_display=('category_name',)
